<template>
    <div>
        <PrintResume ref="abc"></PrintResume>
    </div>
</template>
<script>
import PrintResume from '../../recruitmentManagement/resumeManagement/resumePreview.vue';
export default {
    components: { PrintResume },
    mounted() {
        this.$refs.abc.printStatus = false;
        this.printOn();
    },
    methods: {
        printOn() {
            this.$nextTick(() => {
                window.print();
                this.$router.push({ name: 'resumeManagement' });
            });
        }
    }
};
</script>
